package bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * UserSnapshot entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class UserSnapshot implements java.io.Serializable {

	// Fields

	private Integer snapId;
	private User user;
	private Album album;
	private String snapTitle;
	private byte[] snapFile;
	private Date uploadedAt;
	private Byte isprofilephto;
	private String privacy;
	private Set snapComments = new HashSet(0);
	private Set userSnapAtcs = new HashSet(0);
	private Set userSnapDests = new HashSet(0);
	private Set snapTags = new HashSet(0);

	// Constructors

	/** default constructor */
	public UserSnapshot() {
	}

	/** minimal constructor */
	public UserSnapshot(User user, Album album,
			String snapTitle, byte[] snapFile, Date uploadedAt,
			Byte isprofilephto, String privacy) {
		this.user = user;
		this.album = album;
		this.snapTitle = snapTitle;
		this.snapFile = snapFile;
		this.uploadedAt = uploadedAt;
		this.isprofilephto = isprofilephto;
		this.privacy = privacy;
	}
	
	/** normal constructor */
	public UserSnapshot(Integer snapId, User user, Album album,
			String snapTitle, byte[] snapFile, Date uploadedAt,
			Byte isprofilephto, String privacy) {
		this.snapId = snapId;
		this.user = user;
		this.album = album;
		this.snapTitle = snapTitle;
		this.snapFile = snapFile;
		this.uploadedAt = uploadedAt;
		this.isprofilephto = isprofilephto;
		this.privacy = privacy;
	}

	/** full constructor */
	public UserSnapshot(Integer snapId, User user, Album album,
			String snapTitle, byte[] snapFile, Date uploadedAt,
			Byte isprofilephto, String privacy, Set snapComments,
			Set userSnapAtcs, Set userSnapDests, Set snapTags) {
		this.snapId = snapId;
		this.user = user;
		this.album = album;
		this.snapTitle = snapTitle;
		this.snapFile = snapFile;
		this.uploadedAt = uploadedAt;
		this.isprofilephto = isprofilephto;
		this.privacy = privacy;
		this.snapComments = snapComments;
		this.userSnapAtcs = userSnapAtcs;
		this.userSnapDests = userSnapDests;
		this.snapTags = snapTags;
	}

	// Property accessors

	public Integer getSnapId() {
		return this.snapId;
	}

	public void setSnapId(Integer snapId) {
		this.snapId = snapId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Album getAlbum() {
		return this.album;
	}

	public void setAlbum(Album album) {
		this.album = album;
	}

	public String getSnapTitle() {
		return this.snapTitle;
	}

	public void setSnapTitle(String snapTitle) {
		this.snapTitle = snapTitle;
	}

	public byte[] getSnapFile() {
		return this.snapFile;
	}

	public void setSnapFile(byte[] snapFile) {
		this.snapFile = snapFile;
	}

	public Date getUploadedAt() {
		return this.uploadedAt;
	}

	public void setUploadedAt(Date uploadedAt) {
		this.uploadedAt = uploadedAt;
	}

	public Byte getIsprofilephto() {
		return this.isprofilephto;
	}

	public void setIsprofilephto(Byte isprofilephto) {
		this.isprofilephto = isprofilephto;
	}

	public String getPrivacy() {
		return this.privacy;
	}

	public void setPrivacy(String privacy) {
		this.privacy = privacy;
	}

	public Set getSnapComments() {
		return this.snapComments;
	}

	public void setSnapComments(Set snapComments) {
		this.snapComments = snapComments;
	}

	public Set getUserSnapAtcs() {
		return this.userSnapAtcs;
	}

	public void setUserSnapAtcs(Set userSnapAtcs) {
		this.userSnapAtcs = userSnapAtcs;
	}

	public Set getUserSnapDests() {
		return this.userSnapDests;
	}

	public void setUserSnapDests(Set userSnapDests) {
		this.userSnapDests = userSnapDests;
	}

	public Set getSnapTags() {
		return this.snapTags;
	}

	public void setSnapTags(Set snapTags) {
		this.snapTags = snapTags;
	}

}